package entity

import (
	"gluenet/modules/manager/server/domain/po"
	"gluenet/modules/manager/server/infra"
)

type Index struct {
	infra.Entity `xorm:"-"`
	po.Index     `xorm:"extends"`
}

func (r *Index) Identity() string {
	return r.Index.UserID
}
